package com.wy2cloud.authorize.entity;

import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;



/** 
 * AuthorizeRole 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年04月04日 14:24:30
 *
 */
@Table(name="authorize_role")
@Entity
public class AuthorizeRole implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String name;
	private Integer status;
	
	@Override
	public String toString(){
		return "id:"+this.id+","+"name:"+this.name+","+"status:"+this.status;
	}
	

	
	@Id
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid", strategy="uuid.hex")
	@Column(name = "id") 
	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}	

	
	@Column(name = "name") 
	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}	

	
	@Column(name = "status") 
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer value) {
		this.status = value;
	}	
}